<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title><?php echo ($_page_title); ?></title>
		<meta name="keywords" content="<?php echo ($_page_keywords); ?>" />
	<meta name="description" content="<?php echo ($_page_description); ?>" />
		<link rel="stylesheet" type="text/css" href="/Public/Home/css/head.css"/>
		<link rel="stylesheet" type="text/css" href="/Public/Home/css/index.css"/>
		<link rel="stylesheet" type="text/css" href="/Public/Home/css/footer.css"/>
		<script src="/Public/Home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script>
// 判断登录状态 
$.ajax({
	type : "GET",
	url : "<?php echo U('Member/ajaxChkLogin'); ?>",
	dataType : "json",
	success : function(data)
	{
		if(data.login == 1)
			var li = '您好，'+data.username+' [<a href="<?php echo U('Member/logout'); ?>">退出</a>]';
		else
			var li = '您好，欢迎来到快乐购！[<a href="<?php echo U('Member/login'); ?>">登录</a>] [<a href="<?php echo U('Member/regist'); ?>">免费注册</a>]'
		$("#logInfo").html(li);
	}
});
</script>
		
	</head>
	<body>
		<!--顶部公用-->
		<div class="header">
		<!--顶部导航-->
			<div class="header_top">
				<div class="w1200">
					<div class="h_t_l">
						<div class="login_l">
						    <div id="logInfo"></div>
						</div>
					</div>
					<div class="h_t_r">
						<ul>
							<li>
								<a href="">订单查询</a>
								<span class="line"></span>
							</li>
							<li>
								<a href="">我的快乐购</a>
								<span class="line"></span>
							</li>
							<li>
								<i class="tel_icon"></i>
								<a href="">400-705-1111</a>
								<span class="line"></span>
							</li>
							<li>
								<a href="">下载快乐购app</a>
								<div class="down_load">
                                    <div class="down_border">
                                        <b class="icon_top"></b>
                                        <img style="" src="/Public/Home/image/down_load_20160411.png">
                                        <p>快乐生活 快乐购</p>
                                    </div>
                                </div>
								<span class="line"></span>
							</li>
							<li class="cus_c_box">
								<a href="">客服中心</a>
								<div class="cus_center">
                                    <a href="">帮助中心</a>
                                    <a href="">会员反馈</a>
                                </div>
							</li>
						</ul>
					</div>
				</div>
			</div>
		   
 <!--搜索-->
		    <div class="full_sc">
	    	    <div class="w1200 header_conter">
	    		    <div class="h_c_logo">
	    			    <a href="index.html">
	    				    <img src="/Public/Home/image/logo.jpg"/>
	    			    </a>
	    		    </div>
	    		    <div class="h_c_bz">
	    			    <img src="/Public/Home/image/top_center.jpg" style="width: 467px;29px"/>
	    		    </div>
	    		    <div class="h_c_search">
	    			    <div class="search_input">
	    			    	<form action="" method="post">
	    			    		<input type="text" style="color: rgb(102, 102, 102);" id="key" name="key" class="text_search" placeholder="limu 请输入您要的商品"  />
	    			    		
	    			    		<input onclick="location.href='<?php echo U('Search/key_search', '', FALSE); ?>/key/'+$('#key').val();" type="button" class="btn_search" value="搜索" />
	    			    	</form>
	    			    </div>
	    			    <div class="search_key">
	    			    	<ul>
	    			    		<li>
	    			    			<a href="">太阳镜</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">蕉下</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">果蔬脆片</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">德亚酸牛奶</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">蚕丝面膜</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">山地车</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">BB霜</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">乳胶枕</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">蝙蝠侠系列石英表</a>
	    			    		</li>
	    			    		<li>
	    			    			<a href="">拍立得</a>
	    			    		</li>
	    			    	</ul>
	    			    </div>
	    		    </div>
	    		    <div class="h_c_right">
	    		    	<a href="<?php echo U('Cart/lst');?>" class="h_c_r_car">
	    		    		<b class="b_car1"></b>
	    		    		<span><i class="ci-count">0</i>我的购物车</span>
	    		    		<b class="b_car2"></b>
	    		    	</a>
	    		    </div>
	    	    </div>
	        </div>
		    <!--菜单-->
		    <div class="full_nav">
		    	<div class="w1200">
		    		<ul class="nav">
		    			<li class="li_all_type">
		    				<a href="">全部分类</a>
		    				<b class="b_down"></b>
		    			</li>
		    			<li class="home">
		    				<a href="/" style="color: #C41F3A;">首页11</a>
		    			</li>
		    			<li>
		    				<a href="refined.html">精选品牌</a>
		    			</li>
		    			<li>
		    				<a href="go.html">全球购</a>
		    			</li>
		    			<li>
		    				<a href="brand.html">品牌馆</a>
		    			</li>
		    		</ul>
		    	</div>
	        </div>

		</div>










<link rel="stylesheet" href="/Public/Home/goods/style/list.css" type="text/css">
<link rel="stylesheet" href="/Public/Home/goods/style/common.css" type="text/css">
<script type="text/javascript" src="/Public/Home/goods/js/list.js"></script>
>
<link rel="stylesheet" href="/Public/Home/goods/style/base.css" type="text/css">
	<link rel="stylesheet" href="/Public/Home/goods/style/global.css" type="text/css">

	

	<!-- 列表主体 start -->
	<div class="list w1210 bc mt10">
		<!-- 面包屑导航 start -->
		<div class="breadcrumb">
			<h2>当前位置：<a href="">首页</a> > <a href="">电脑、办公</a></h2>
		</div>
		<!-- 面包屑导航 end -->

		<!-- 左侧内容 start -->
		<div class="list_left fl mt10">
			<!-- 分类列表 start -->
			<div class="catlist">
				<h2>电脑、办公</h2>
				<div class="catlist_wrap">
					<div class="child">
						<h3 class="on"><b></b>电脑整机</h3>
						<ul>
							<li><a href="">笔记本</a></li>
							<li><a href="">超极本</a></li>
							<li><a href="">平板电脑</a></li>
						</ul>
					</div>

					<div class="child">
						<h3><b></b>电脑配件</h3>
						<ul class="none">
							<li><a href="">CPU</a></li>
							<li><a href="">主板</a></li>
							<li><a href="">显卡</a></li>
						</ul>
					</div>

					<div class="child">
						<h3><b></b>办公打印</h3>
						<ul class="none">
							<li><a href="">打印机</a></li>
							<li><a href="">一体机</a></li>
							<li><a href="">投影机</a></li>
							</li>
						</ul>
					</div>

					<div class="child">
						<h3><b></b>网络产品</h3>
						<ul class="none">
							<li><a href="">路由器</a></li>
							<li><a href="">网卡</a></li>
							<li><a href="">交换机</a></li>
							</li>
						</ul>
					</div>

					<div class="child">
						<h3><b></b>外设产品</h3>
						<ul class="none">
							<li><a href="">鼠标</a></li>
							<li><a href="">键盘</a></li>
							<li><a href="">U盘</a></li>
						</ul>
					</div>
				</div>
				
				<div style="clear:both; height:1px;"></div>
			</div>
			<!-- 分类列表 end -->
				
			<div style="clear:both;"></div>	

			<!-- 新品推荐 start -->
			<div class="newgoods leftbar mt10">
				<h2><strong>新品推荐</strong></h2>
				<div class="leftbar_wrap">
					<ul>
						<li>
							<dl>
								<dt><a href=""><img src="/Public/Home/images/list_hot1.jpg" alt="" /></a></dt>
								<dd><a href="">美即流金丝语悦白美颜新年装4送3</a></dd>
								<dd><strong>￥777.50</strong></dd>
							</dl>
						</li>

						<li>
							<dl>
								<dt><a href=""><img src="/Public/Home/images/list_hot2.jpg" alt="" /></a></dt>
								<dd><a href="">领券满399减50 金斯利安多维片</a></dd>
								<dd><strong>￥239.00</strong></dd>
							</dl>
						</li>

						<li class="last">
							<dl>
								<dt><a href=""><img src="/Public/Home/images/list_hot3.jpg" alt="" /></a></dt>
								<dd><a href="">皮尔卡丹pierrecardin 男士长...</a></dd>
								<dd><strong>￥1240.50</strong></dd>
							</dl>
						</li>
					</ul>
				</div>
			</div>
			<!-- 新品推荐 end -->

			<!--热销排行 start -->
			<div class="hotgoods leftbar mt10">
				<h2><strong>热销排行榜</strong></h2>
				<div class="leftbar_wrap">
					<ul>
						<li></li>
					</ul>
				</div>
			</div>
			<!--热销排行 end -->

			<!-- 最近浏览 start -->
			<div class="viewd leftbar mt10">
				<h2><a href="">清空</a><strong>最近浏览过的商品</strong></h2>
				<div class="leftbar_wrap">
					<dl>
						<dt><a href=""><img src="/Public/Home/images/hpG4.jpg" alt="" /></a></dt>
						<dd><a href="">惠普G4-1332TX 14英寸笔记...</a></dd>
					</dl>

					<dl class="last">
						<dt><a href=""><img src="/Public/Home/images/crazy4.jpg" alt="" /></a></dt>
						<dd><a href="">直降200元！TCL正1.5匹空调</a></dd>
					</dl>
				</div>
			</div>
			<!-- 最近浏览 end -->
		</div>
		<!-- 左侧内容 end -->
	
		<!-- 列表内容 start -->
		<div class="list_bd fl ml10 mt10">
			<!-- 热卖、促销 start -->
			<div class="list_top">
				<!-- 热卖推荐 start -->
				<div class="hotsale fl">
					<h2><strong><span class="none">热卖推荐</span></strong></h2>
					<ul>
						<li>
							<dl>
								<dt><a href=""><img src="/Public/Home/images/hpG4.jpg" alt="" /></a></dt>
								<dd class="name"><a href="">惠普G4-1332TX 14英寸笔记本电脑 （i5-2450M 2G 5</a></dd>
								<dd class="price">特价：<strong>￥2999.00</strong></dd>
								<dd class="buy"><span>立即抢购</span></dd>
							</dl>
						</li>

						<li>
							<dl>
								<dt><a href=""><img src="/Public/Home/images/list_hot3.jpg" alt="" /></a></dt>
								<dd class="name"><a href="">ThinkPad E42014英寸笔记本电脑</a></dd>
								<dd class="price">特价：<strong>￥4199.00</strong></dd>
								<dd class="buy"><span>立即抢购</span></dd>
							</dl>
						</li>

						<li>
							<dl>
								<dt><a href=""><img src="/Public/Home/images/acer4739.jpg" alt="" /></a></dt>
								<dd class="name"><a href="">宏碁AS4739-382G32Mnkk 14英寸笔记本电脑</a></dd>
								<dd class="price">特价：<strong>￥2799.00</strong></dd>
								<dd class="buy"><span>立即抢购</span></dd>
							</dl>
						</li>
					</ul>
				</div>
				<!-- 热卖推荐 end -->

				<!-- 促销活动 start -->
				<div class="promote fl">
					<h2><strong><span class="none">促销活动</span></strong></h2>
					<ul>
						<li><b>.</b><a href="">DIY装机之向雷锋同志学习！</a></li>
						<li><b>.</b><a href="">京东宏碁联合促销送好礼！</a></li>
						<li><b>.</b><a href="">台式机笔记本三月巨惠！</a></li>
						<li><b>.</b><a href="">富勒A53g智能人手识别鼠标</a></li>
						<li><b>.</b><a href="">希捷硬盘白色情人节专场</a></li>
					</ul>

				</div>
				<!-- 促销活动 end -->
			</div>
			<!-- 热卖、促销 end -->
			
			<div style="clear:both;"></div>
			<style>
				#search_condition{margin:10px;padding:5px;padding-right:0;}
				#search_condition span{border:1px solid #F00;padding:5px;margin:5px;}
				#search_condition span a:hover{background:#F00;color:#FFF;padding:5px;margin-right:0;}
			</style>
			<div id="search_condition">
				当前搜索条件：
				<?php  $brandId = I('get.brand_id'); if($brandId): ?>
					<span>
						品牌：<?php echo ltrim(strstr($brandId, '-'), '-'); ?>
						<a href="<?php echo filterUrl('brand_id'); ?>">X</a>
					</span>
				<?php endif; ?>
				
				<?php  $price = I('get.price'); if($price): ?>
					<span>
						价格：<?php echo $price; ?>
						<a href="<?php echo filterUrl('price'); ?>">X</a>
					</span>
				<?php endif; ?>
				
				<?php  foreach ($_GET as $k => $v): if(strpos($k, 'attr_') === 0) : $_attrName = strrchr($v, '-'); ?>
					<span>
						<?php echo ltrim($_attrName, '-'); ?>：<?php echo str_replace($_attrName, '', $v); ?>
						<a href="<?php echo filterUrl($k); ?>">X</a>
					</span>
				<?php endif;endforeach; ?>
				
			</div>
			
			
			<!-- 商品筛选 start -->
			<div class="filter mt10">
				<h2><a href="">重置筛选条件</a> <strong>商品筛选</strong></h2>
				<div class="filter_wrap">
					<?php if(!I('get.brand_id') && $searchFilter['brand']): ?>
					<dl>
						<dt>品牌：</dt>
						<?php foreach ($searchFilter['brand'] as $k => $v): ?>
						<dd><a href="/index.php/Home/Search/cat_search/cat_id/21/brand_id/<?php echo $v['brand_id']; ?>-<?php echo $v['brand_name']; ?>"><?php echo $v['brand_name']; ?></a></dd>
						<?php endforeach; ?>
					</dl>
					<?php endif; ?>
					
					<?php if(!I('get.price') && !empty($searchFilter['price'])): ?>
					<dl>
						<dt>价格：</dt>
						<?php foreach ($searchFilter['price'] as $k => $v): ?>
						<dd><a href="/index.php/Home/Search/cat_search/cat_id/21/price/<?php echo $v; ?>"><?php echo $v; ?></a></dd>
						<?php endforeach; ?>
					</dl>
					<?php endif; ?>
					
					<!-- 筛选属性 -->
					<?php foreach ($searchFilter['gaData'] as $k => $v): $attrUrlName = 'attr_'.$v[0]['attr_id']; if(isset($_GET[$attrUrlName])) continue ?>
					<dl>
						<dt><?php echo $k; ?>：</dt>
						<?php foreach ($v as $k1 => $v1): ?>
							<dd><a href="/index.php/Home/Search/cat_search/cat_id/21/<?php echo $attrUrlName; ?>/<?php echo $v1['attr_value']; ?>-<?php echo $k; ?>"><?php echo $v1['attr_value']; ?></a></dd>
						<?php endforeach; ?>
					</dl>
					<?php endforeach; ?>
				</div>
			</div>
			<!-- 商品筛选 end -->
			
			<div style="clear:both;"></div>

			<!-- 排序 start -->
			<?php $odby = I('get.odby', 'xl'); ?>
			<div class="sort mt10">
				<dl>
					<dt>排序：</dt>
					<dd <?php if($odby=='xl') echo 'class="cur"'; ?>><a href="<?php echo filterUrl('odby'); ?>/odby/xl">销量</a></dd>
					<dd <?php if(strpos($odby, 'price_') === 0) echo 'class="cur"'; ?>>
					<a href="<?php echo filterUrl('odby'); ?>/odby/<?php echo $odby=='price_desc'?'price_asc':'price_desc'; ?>">
						价格
						<?php if(strpos($odby, 'price_') === 0): ?>
							<?php echo $odby == 'price_desc' ? '↓' : '↑'; ?>
						<?php endif; ?>
					</a>
					</dd>
					<!--<dd><a href="">评论数</a></dd>-->
					<dd <?php if($odby=='addtime') echo 'class="cur"'; ?>><a href="<?php echo filterUrl('odby'); ?>/odby/addtime">上架时间</a></dd>
				</dl>
			</div>
			<!-- 排序 end -->
			
			<div style="clear:both;"></div>

			<!-- 商品列表 start-->
			<div class="goodslist mt10">
				<ul>
					<?php foreach ($data as $k => $v): ?>
					<li>
						<dl>
							<dt><a href="<?php echo U('Index/goods/?id='.$v['id']); ?>"><?php showImage($v['mid_logo']); ?></a></dt>
							<dd><a href="<?php echo U('Index/goods/?id='.$v['id']); ?>"><?php echo $v['goods_name']; ?></a></dt>
							<dd><strong>￥<?php echo $v['shop_price']; ?>元</strong></dt>
							<dd>
								<a href=""><em>已有10人评价</em></a>
								<a href=""><em>已有<?php echo (int)$v['xl']; ?>销量</em></a>
									
							</dt>
						</dl>
					</li>
					<?php endforeach; ?>
				</ul>
			</div>
			<!-- 商品列表 end-->

			<!-- 分页信息 start -->
			<div class="page mt20">
				<?php echo $page; ?>
			</div>
			<!-- 分页信息 end -->

		</div>
		<!-- 列表内容 end -->
	</div>
	<!-- 列表主体 end-->





<!--底部公用-->
	    <div class="footer">
	    	<div class="footer_b w1200"><img src="/Public/Home/image/foot_img1.jpg"/></div>
	    	<div class="footer_help w1200">
	    		<div class="footer1_l">
	    			<dl class="helpDl">
	    				<dt><h5>使用帮助</h5></dt>
	    				<dd><a href="">税费收取规则 </a></dd>
	    				<dd><a href="">新手指南 </a></dd>
	    			    <dd><a href="">常见问题 </a></dd>
	    				<dd><a href="">用户协议 </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>会员服务</h5></dt>
	    				<dd><a href="">积分政策  </a></dd>
	    				<dd><a href="">会员权益  </a></dd>
	    			    <dd><a href="">会员等级  </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>支付方式</h5></dt>
	    				<dd><a href="">积分支付  </a></dd>
	    				<dd><a href="">货到付款  </a></dd>
	    			    <dd><a href="">在线支付  </a></dd>
	    				<dd><a href="">优惠券支付  </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>配送方式</h5></dt>
	    				<dd><a href="">包邮政策   </a></dd>
	    				<dd><a href="">费用说明   </a></dd>
	    			    <dd><a href="">配送说明   </a></dd>
	    			</dl>
	    			<dl class="helpDl">
	    				<dt><h5>售后服务</h5></dt>
	    				<dd><a href="">电子发票   </a></dd>
	    				<dd><a href="">售后咨询   </a></dd>
	    			    <dd><a href="">退货办理   </a></dd>
	    				<dd><a href="">退货政策   </a></dd>
	    			</dl>
	    		</div>
	    		<div class="footer1_r">
	    			<ul>
	    				<li>
	    					<h2>手机快乐购</h2>
	    					<img src="/Public/Home/image/footer_ewm_01.png"/>
	    					<p>下载移动客户端</p>
	    				</li>
	    				<li>
	    					<h2>快乐购微信</h2>
	    					<img src="/Public/Home/image/footer_ewm_02.png"/>
                            <p>快乐购官方微信</p>
	    				</li>
	    			</ul>
	    		</div>
	    	</div>
	        <div class="footer_nav">
	        	<div class="w720">
	        		<ul>
	        			<li>
	        				<a href="">关于快乐购 </a>
	        				<span class="line"></span>
	        			</li>
	        			<li>
	        				<a href="">投资者关系 </a>
	        				<span class="line"></span>
	        			</li>
	        			<li>
	        				<a href="">商家入驻  </a>
	        				<span class="line"></span>
	        			</li>
	        			<li>
	        				<a href="">联系我们 </a>
	        				<span class="line"></span>
	        			</li>
	        		</ul>
	        	</div>
	        </div>
	        <div class="footer_bottom">
	        	<div class="w1200">
	        		<p>
	        			<span class="font_arial">Copyright© 2006-2016 happigo. All Rights Reserved </span>
                                           免费服务热线: 400-705-1111 | 固话也可拨打: 800-705-1111
                        <span class="font_arial">E-Mail: service@happigo.com</span><br>
                                           湘ICP备12000157号 信息网络传播视听节目许可证号：1810530
	        		</p>
	        		<p class="footer_b">
	        			<a href="http://www.itrust.org.cn/home/index/itrust_certifi/wm/2782875193.html">
	        				<img src="/Public/Home/image/foot_img3.png"/>
	        			</a>
	        			<a href="https://search.szfw.org/cert/l/CX20150428007576007720">
	        				<img src="/Public/Home/image/foot_img4.png"/>
	        			</a>
	        		</p>
	        	</div>
	        </div>
	    </div>
	    <!--底部end-->

	</body>
</html>